package com.zhijiaoyun.model;

/**
 * @author shisfish
 * @date 2017/6/6
 */
public class CourseRecommend extends CreateModel {
	private static final long serialVersionUID = -5020686155869762851L;

	private Long recommendId;

    private Long courseId;

    private String reason;

    private Integer recommendType;

    public CourseRecommend() {
		super();
	}

	public CourseRecommend(Long courseId, String reason, Integer recommendType, String createUser) {
		super();
		this.courseId = courseId;
		this.reason = reason;
		this.recommendType = recommendType == null ? 0 : recommendType;
		this.createUser = createUser;
	}

	public Integer getRecommendType() {
		return recommendType;
	}

	public void setRecommendType(Integer recommendType) {
		this.recommendType = recommendType;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Long getRecommendId() {
        return recommendId;
    }

    public void setRecommendId(Long recommendId) {
        this.recommendId = recommendId;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason == null ? null : reason.trim();
    }

}